﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.Web.Mvc
{
	public sealed class WijmoHelper<TModel>
	{

		internal WijmoHelper( HtmlHelper<TModel> html )
		{
			this.Html = html;
		}

		public HtmlHelper<TModel> Html
		{ get; private set; } 

	}


	public static class HtmlHelperExtensionMethods
	{

		public static WijmoHelper<TModel> UI<TModel>( this HtmlHelper<TModel> html )
		{
			return new WijmoHelper<TModel>( html );
		}

		public static GridBuilder<TModel> Grid<TModel>( this WijmoHelper<TModel> wijmo )
		{
			return new GridBuilder<TModel>( wijmo );
		}
	}
}
